﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace Universe.SimpleQueue.Tests
{
    [TestFixture]
    public class LogicTest_SQLServer_With_Explicit_Transactions : TestDefenitions
    {
        protected override Func<SimpleQueue.IConnectionInfo> ConnectionFactory
        {
            get { return Env.SqlServer_With_ReadCommitted_Isolated_Transaction; }
        }
    }

    [TestFixture]
    public class LogicTest_SQLServer_Without_Transaction_Managment : TestDefenitions
    {
        protected override Func<SimpleQueue.IConnectionInfo> ConnectionFactory
        {
            get { return Env.SqlServer_With_ReadCommitted_Isolated_Transaction; }
        }
    }

    [TestFixture]
    public class LogicTest_SQLCE_Storage_Explicit_Transactions : TestDefenitions
    {
        protected override Func<SimpleQueue.IConnectionInfo> ConnectionFactory
        {
            get { return Env.SQLCE_With_Explicit_ReadCommitted_Isolatated_Transactions; }
        }
    }

    [TestFixture]
    public class LogicTest_SQLCE_Without_Transaction_Managment : TestDefenitions
    {
        protected override Func<SimpleQueue.IConnectionInfo> ConnectionFactory
        {
            get { return Env.ConnectionCE; }
        }
    }
}
